import request from "@/utils/request";
import $uri from "@/api/T100/constant/uri"
const aqct300 = {
  qcbaList(data) {
    return request({
      url: $uri.aqct300.qcbaList,
      method: 'get',
      params: data
    })
  },
  saveData(data) {
    return request({
      url: $uri.aqct300.saveData,
      method: 'post',
      data: data
    })
  },
  searchByDocno(docno) {
    return request({
      url: $uri.aqct300.qcbaDetailByDocno+'/'+docno,
      method: 'get',
      params: {}
    })
  },
  searchByRownum(data) {
    return request({
      url: $uri.aqct300.qcbaDetailByRownum,
      method: 'get',
      params: data
    })
  },
  searchQcbcByDocno(docno) {
    return request({
      url: $uri.aqct300.qcbcByDocno+'/'+docno,
      method: 'get',
      params: {}
    })
  },
  searchQcbdByDocno(docno) {
    return request({
      url: $uri.aqct300.qcbdByDocno+'/'+docno,
      method: 'get',
      params: {}
    })
  },
  searchQcbd2ByDocno(docno) {
    return request({
      url: $uri.aqct300.qcbd2ByDocno+'/'+docno,
      method: 'get',
      params: {}
    })
  },
  searchQcbe(data) {
    return request({
      url: $uri.aqct300.qcbeList,
      method: 'get',
      params: data
    })
  },
  confirmedByDocno(qcbadocno){
    return request({
      url: $uri.aqct300.confirmedByDocno+'/'+qcbadocno,
      method: 'get',
      params: {}
    })
  },
  unConfirmedByDocno(qcbadocno){
    return request({
      url: $uri.aqct300.unConfirmedByDocno+'/'+qcbadocno,
      method: 'get',
      params: {}
    })
  },
  translate(data){
    return request({
      url: $uri.aqct300.translate,
      method: 'get',
      params: data
    })
  }
}
export default  aqct300;



